import {
  ConfigProvider,
  Button,
  Cell,
  CellGroup,
  Field,
  Tabbar,
  TabbarItem,
  Col,
  Row,
  Toast,
  Popup,
  ActionSheet,
  Skeleton,
  Swipe,
  SwipeItem,
  Dialog
} from 'vant'
const vants = [
  ConfigProvider,
  Button,
  Cell,
  CellGroup,
  Field,
  Tabbar,
  TabbarItem,
  Col,
  Row,
  Toast,
  Popup,
  ActionSheet,
  Skeleton,
  Swipe,
  SwipeItem,
  Dialog
]
export default {
  install (app) {
    vants.forEach((item) => {
      app.use(item)
    })
  }
}
